<?php

use app\assets\Error404Asset;
use app\helpers\SettingHelper;
use yii\helpers\Html;

Error404Asset::register($this);

/* @var $content */
?>
<?php $this->beginPage(); ?>
<!DOCTYPE HTML>
<html>
<head>
    <meta charset="<?= Yii::$app->charset; ?>">
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <?= Html::csrfMetaTags() ?>
    <title><?= Html::encode($this->title); ?> - <?= SettingHelper::get('web_name'); ?></title>
    <?php $this->head(); ?>
</head>
<body>
<?php $this->beginBody(); ?>
<div id="page404">
    <div id="content">
        <h1>404</h1>
        <p>抱歉，您访问的页面不存在(´･ω･`)</p>
        <p><a href="javascript:history.go(-1)">&laquo;返回前一页</a></p>
    </div>
</div>

<?php $this->endBody(); ?>
</body>
</html>
<?php $this->endPage(); ?>